// JavaScript Document
function change_fame(src)
{
	$("iframe").attr("src",src);
}
function gettime()
{
	
	var time=new Date();
	var year=time.getFullYear();
	var month=time.getMonth()+1;
	var date=time.getDate();
	var day=time.getDay();
	var hour=time.getHours();
	var minutes=time.getMinutes();
	var Seconds=time.getSeconds();
	switch (day) {
	case 1:day="一";
	break;
    case 2:day="二";
	break;
    case 3:day="三";
	break;
    case 4:day="四";
	break;
    case 5:day="五";
	break;
   case 6:day="六";
	break;
    case 0:day="日";
	break;
    default: document.getElementById("time").innerHTML="时间格式出错";
	break;
	}
	if(minutes<10)
		minutes="0"+minutes;
	document.getElementById("time").innerHTML="<h4><span class='label label-info'>"+year+"年"+month+"月"+date+"日  星期"+day+" "+hour+":"+minutes+":"+Seconds+"</span></h4>";
}
   window.setInterval("gettime()", 10);
